﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Drawing;
using RRRSRoguelike.Managers;
using RRRSRoguelike.Helpers;
using RRRSRoguelike.Helpers.Visualizer;
using RRRSRoguelikeEngine;

namespace RRRSRoguelike.Screens
{
    abstract class Screen : IScreen
    {
        protected List<Panel> Panels;

        public Screen()
        {
            Panels = new List<Panel>();
        }

        public virtual void Show()
        {

        }

        public void Clear()
        {
            Console.Clear();
            foreach (Panel p in Panels)
                p.Clear();
        }

        public void WaitKey()
        {
            Console.ReadKey(true);
        }

        //public static void WriteString(string text, ConsoleColor color = ConsoleColor.White) 
        //{
        //    DungeonVisualizer.WriteLine(BuildString(text).ToString());
        //}




    }
}
